package com.github.icloudpay.crm.core.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * 冻结流水表
 * 
 * @author centerroot
 * @email lfw6699@163.com
 * @date 2018-05-25 15:20:48
 */
@Table(name = "freeze_journal")
public class FreezeJournal implements Serializable {
	private static final long serialVersionUID = 1L;
	
	    //流水号
    @Id
    private String journalId;
	
	    //关联流水号
    @Column(name = "JOURNAL_ID_REL")
    private String journalIdRel;
	
	    //客户类型  1：个人客户  2：企业客户
    @Column(name = "CON_TYPE")
    private String conType;
	
	    //客户账户编号
    @Column(name = "CON_ACC_ID")
    private String conAccId;
	
	    //冻结类型  1：资金冻结  2：账户冻结
    @Column(name = "FREEZE_TYPE")
    private String freezeType;
	
	    //金额
    @Column(name = "BALANCE")
    private BigDecimal balance;
	
	    //冻结状态 1:已冻结  2:已解冻
    @Column(name = "STATUS")
    private String status;
	
	    //时间
    @Column(name = "CREATETIME")
    private Timestamp createtime;
	

	/**
	 * 设置：流水号
	 */
	public void setJournalId(String journalId) {
		this.journalId = journalId;
	}
	/**
	 * 获取：流水号
	 */
	public String getJournalId() {
		return journalId;
	}
	/**
	 * 设置：关联流水号
	 */
	public void setJournalIdRel(String journalIdRel) {
		this.journalIdRel = journalIdRel;
	}
	/**
	 * 获取：关联流水号
	 */
	public String getJournalIdRel() {
		return journalIdRel;
	}
	/**
	 * 设置：客户类型  1：个人客户  2：企业客户
	 */
	public void setConType(String conType) {
		this.conType = conType;
	}
	/**
	 * 获取：客户类型  1：个人客户  2：企业客户
	 */
	public String getConType() {
		return conType;
	}
	/**
	 * 设置：客户账户编号
	 */
	public void setConAccId(String conAccId) {
		this.conAccId = conAccId;
	}
	/**
	 * 获取：客户账户编号
	 */
	public String getConAccId() {
		return conAccId;
	}
	/**
	 * 设置：冻结类型  1：资金冻结  2：账户冻结
	 */
	public void setFreezeType(String freezeType) {
		this.freezeType = freezeType;
	}
	/**
	 * 获取：冻结类型  1：资金冻结  2：账户冻结
	 */
	public String getFreezeType() {
		return freezeType;
	}
	/**
	 * 设置：金额
	 */
	public void setBalance(BigDecimal balance) {
		this.balance = balance;
	}
	/**
	 * 获取：金额
	 */
	public BigDecimal getBalance() {
		return balance;
	}
	/**
	 * 设置：冻结状态 1:已冻结  2:已解冻
	 */
	public void setStatus(String status) {
		this.status = status;
	}
	/**
	 * 获取：冻结状态 1:已冻结  2:已解冻
	 */
	public String getStatus() {
		return status;
	}
	/**
	 * 设置：时间
	 */
	public void setCreatetime(Timestamp createtime) {
		this.createtime = createtime;
	}
	/**
	 * 获取：时间
	 */
	public Timestamp getCreatetime() {
		return createtime;
	}
	@Override
	public String toString() {
		return "FreezeJournal [journalId=" + journalId + ", journalIdRel=" + journalIdRel + ", conType=" + conType
				+ ", conAccId=" + conAccId + ", freezeType=" + freezeType + ", balance=" + balance + ", status="
				+ status + ", createtime=" + createtime + "]";
	}
	
}
